package com.lyf.auth.domain.pojo;

import java.io.Serializable;

import lombok.Data;
import org.springframework.data.redis.serializer.JdkSerializationRedisSerializer;

@Data
public class AuthTokenAccess extends JdkSerializationRedisSerializer implements Serializable {
   private Integer appId;
   private String authToken;
   private long expireTime;

   public AuthTokenAccess() {
   }

   public AuthTokenAccess(Integer appId, String authToken, long expireTime) {
      this.appId = appId;
      this.authToken = authToken;
      this.expireTime = expireTime;
   }

}
